package com.woniuxy.portal.service;

import com.woniuxy.portal.model.dto.CartVo;

public interface CartService {

    //获取用户的购物车
    CartVo getCart(Long userId);

    //添加一件商品到购物车
    CartVo addCartItem(Long userId, Long bookId);

    //删除购物车项
    CartVo removeCartItem(Long userId, Long bookId);
}
